package com.demohomework.homeworkdemo.service;

import com.demohomework.homeworkdemo.pojo.Notice;

import java.util.List;

public interface NoticeService {
    void add(Notice notice);

    List<Notice> list();

    Notice findId(Integer id);

    void update(Notice notice);

    void delete(Integer id);
}
